<?php

namespace App\Containers\AppSection\Settings\Models;

use App\Ship\Parents\Models\Model;

/**
 * Class Setting
 *
 * @property int $id Id
 * @property string $key Ключ
 * @property array $value Значение
 * @property bool $public Публичный
 */
class Setting extends Model
{
    public $timestamps = false;
    protected $table = 'settings';
    protected $fillable = [
        'key',
        'value',
        'public'
    ];
    protected $casts = [
        'value' => 'json',
    ];
}
